﻿using System;

namespace PackageResources
{
    internal class Program
    {
        public static void Main(string[] args)
        {
            if (args.Length == 2)
            {
                var p = new PackageTools();
                if (p.Package(args[0], args[1]))
                {
                    Console.WriteLine("打包成功。");
                }
            }
            else
            {
                throw new Exception("输入的参数有误，无法打包。");
            }
        }
    }
}